package ;
import flash.display.MovieClip;

/**
 * Class representing a general card.  SHould be subclassed for
 * specific card types.
 * @author michael
 * @todo show MIke how to get chxdoc to produce documntation
 */

class Card extends MovieClip{

  // Card title - short version, for lists
  var shortTitle:String;

  // Card title - full version displayed on the card
  var title:String;

  /** 
   * Constructor
   * @param shortTitle The title of a card as shown in a list
   * @param title The full title of a card, shown on the card imagge
   */
  public function new(shortTitle:String, title:String) 
  {
    super();
    this.shortTitle = shortTitle;
    this.title = title;
  }

  /**
   * Draw the curent card. Uses local coordinates, so the card itself needs to be positioned
   */
  public function draw():Void;
  
}